Previous Book Contents Book Index Next

Inside Macintosh: AppleScript Language Guide / Part 3 - Appendixes
Appendix B - Scriptable Text Editor Dictionary / Scriptable Text Editor Commands


Paste

The Paste command is a request to make a copy of the objects on the Clipboard and replace the current selection with them. The Paste command has the
same effect as choosing the Paste command from the Scriptable Text Editor's Edit menu.

SYNTAX
paste
PARAMETERS
None

RESULT
None

EXAMPLE
tell application "Scriptable Text Editor"   select paragraph 1 of document "Report"   cut
   select the last insertion point of document "Report"   paste
end tell
NOTES
The Paste command replaces the current selection with the contents of the Clipboard. If the current selection is an insertion point, the Paste command inserts the contents of the Clipboard at the insertion point.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996